function genFilters(output)
% basic filter
f(1,:,:) = [1 0 0;0 -1 0;0 0 0];
f(2,:,:) = [0 1 0;0 -1 0;0 0 0];
f(3,:,:) = [0 0 1;0 -1 0;0 0 0];
f(4,:,:) = [0 0 0;1 -1 0;0 0 0];
f(5,:,:) = [0 0 0;0 -1 1;0 0 0];
f(6,:,:) = [0 0 0;0 -1 0;1 0 0];
f(7,:,:) = [0 0 0;0 -1 0;0 1 0];
f(8,:,:) = [0 0 0;0 -1 0;0 0 1];

base_count = 8;
stat = struct('time',datestr(now), 'base_count', base_count);
count = 1;
for i = 1:base_count-1
    for j = i+1:base_count
        ff(count, :, :) = f(i, :, :) + f(j, :, :);
        stat.v(count, :) = [i,j];
        count = count + 1;
    end
end
stat.count = count - 1;
save(output,'stat','f','ff');
end
